app.controller("examCatalogueCtrl",function($scope,$state,$sce){

    var examCatalogueList1= '';
    for (var i = 1; i < 26; i++) {
        examCatalogueList1 = examCatalogueList1+'<li ng-click="alert(1)"><a href="" class="exam-catalogue-box bg-gray">'+i+'</a></li>';
        // examCatalogueList=examCatalogueList+i;
    }
    $scope.test = $sce.trustAsHtml(examCatalogueList1);
    //试题
    $scope.openExamSubject = function () {
        $state.go("home.examSubject");

    }
    //试卷目录
    $scope.openExamCatalogue = function () {
        $state.go("home.examCatalogue");
    }
    //查看成绩
    $scope.openExamGrade = function () {
        $state.go("home.examGrade");
    }
});